#{extends "main_list.html"/}
#{set title:"查看部门"/}
%{
map = [:]
map['show']	  = true
map['fields']		=	['pid','name','sort','flag','notice']
map['type']			=	['text','text','text','select','text']
map['widths']		=	['100','50','50','50','100']
map['input']  		= 	[:]
map['input']['flag']	=	['1':'使用','2':'停用']
map['input']['notice']	=	300

}%
#{form @@save(object.id)}
#{table.form map}
#{table.custom 'pid'}
<div class="field" style="width: 100%;">
<label for="object_pid">&{'depart.pid'}</label>
#{select_tree trees,name:"object.pid",value:object.pid/}
</div>
#{/table.custom}
#{/table.form}
#{/form}